import EditorConsole from '../components/EditorConsole'
import example from '../examples/dynamic_object_keys'


In ES5, object literal keys are always interpreted as a string. ES6 allows us to use computed values as keys in object literals, using square bracket syntax: `[myKey]`.

<EditorConsole {...example} />
